package com.gite.nouette.admin.implementation.integrator.director.module;

import com.gite.nouette.admin.contract.integrator.builder.module.IBuilderModuleLog;
import com.gite.nouette.admin.contract.integrator.director.module.IDirectorModuleLog;
import com.gite.nouette.admin.contract.model.module.IModuleLog;

public class DirectorModuleLogImpl implements IDirectorModuleLog {
	private IBuilderModuleLog builder;

	@Override
	public IBuilderModuleLog getBuilder() {
		return this.builder;
	}

	@Override
	public void setBuilder(IBuilderModuleLog builder) {
		this.builder = builder;
	}

	@Override
	public IModuleLog getProduct() {
		return getBuilder().getProduct();
	}

	@Override
	public void constructProduct() {
		getBuilder().createNewProduct();
		getBuilder().buildName();
		getBuilder().buildCommandModules();
	}

}
